package com.jackson.engineeringtechnologyguide.service.impl;

/*
 * Author: JacksonCoder
 * FileName: IAccountServiceImpl
 * Version: 1.0.0
 * Date: 2025/1/10
 */

import com.jackson.engineeringtechnologyguide.service.IAccountService;
import com.jackson.engineeringtechnologyguide.service.IStorageService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
@RequiredArgsConstructor   // lombok注解，自动注入
public class IAccountServiceImpl implements IAccountService {

    /**
     * 注入存储服务
     */
    private final IStorageService storageService;

    @Override
    public void queryAccountInfo(String userName) {
        storageService.findAccountByUserName(userName);
    }
}
